package gao.xaiolei.dao;

import gao.xaiolei.enity.TaskView;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

@Repository("ITaskViewDao")
public interface ITaskViewDao extends JpaRepository<TaskView, String> {

	// 通过任务Id查询视图查询视图
	@Query(value = "from TaskView where id = :id")
	public TaskView queryByTaskId(@Param("id") String id);

}
